package com.niuquan.modal;

/**
 * Created by DELL on 2015/5/23.
 */
public class ChatListItems extends ListItem{

    public boolean isHasnew() {
        return hasnew;
    }

    public ChatListItems(String nickname, String m_headpicpath, String m_lastmes, String m_lastmes_time, String m_tag, boolean hasnew) {
        super(nickname, m_headpicpath);
        this.m_lastmes = m_lastmes;
        this.m_lastmes_time = m_lastmes_time;
        this.m_tag = m_tag;
        this.hasnew = hasnew;
    }

    public void setHasnew(boolean hasnew) {

        this.hasnew = hasnew;
    }

    public ChatListItems(String nickname, String uername, String m_headpicpath, String m_lastmes, String m_lastmes_time, String m_tag, boolean hasnew) {
        super(nickname, uername, m_headpicpath);
        this.m_lastmes = m_lastmes;
        this.m_lastmes_time = m_lastmes_time;
        this.m_tag = m_tag;
        this.hasnew = hasnew;
    }

    public void setM_lastmes(String m_lastmes) {
        this.m_lastmes = m_lastmes;
    }

    public void setM_lastmes_time(String m_lastmes_time) {
        this.m_lastmes_time = m_lastmes_time;
    }

    public void setM_tag(String m_tag) {
        this.m_tag = m_tag;
    }

    public String getM_lastmes() {

        return m_lastmes;
    }

    public String getM_lastmes_time() {
        return m_lastmes_time;
    }

    public String getM_tag() {
        return m_tag;
    }
    private String m_lastmes;
    private String m_lastmes_time;
    private String m_tag;
    private boolean hasnew;
}
